From: Eli Zaretskii Date: Tue, 9 Nov 2010 13:55:52 +0000 (+0200) Subject: xfns.c (x_real_positions): Fix declaration-after-statement problem. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18^2~330 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=383dd427cec4550ee82dbe16dd434b829b57e5c4;p=emacs.git xfns.c (x_real_positions): Fix declaration-after-statement problem. --- diff --git a/src/ChangeLog b/src/ChangeLog index e7a6ae77a17..e9c933a837d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-11-09 Eli Zaretskii + + * xfns.c (x_real_positions): Fix declaration-after-statement + problem. + 2010-11-05 Chong Yidong * image.c (free_image): Don't garbage the frame here, since this diff --git a/src/xfns.c b/src/xfns.c index b65323f199f..2e2bda49246 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -645,11 +645,10 @@ x_real_positions (f, xptr, yptr) { int ign; Window rootw; + long *fe = (long *)tmp_data; XGetGeometry (FRAME_X_DISPLAY (f), win, &rootw, &real_x, &real_y, &ign, &ign, &ign, &ign); - long *fe = (long *)tmp_data; - outer_x = -fe[0]; outer_y = -fe[2]; real_x -= fe[0];